package linkwechat.mapper.system;

import linkwechat.pojo.LinkRole;
import linkwechat.pojo.SysPost;
import linkwechat.pojo.SysUserPost;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

@Mapper
public interface SysUserPostMapper {


    // 根据用户id查询岗位
    List<SysPost> selectPostByUserId(Long userId);


    //      批量新增用户岗位信息
    public int batchUserPost(List<SysUserPost> userPostList);


    // 通过用户ID删除用户和岗位关联
    public int deleteUserPostByUserId(Long userId);



}
